<template>
  <div class="header-back-home">
    <van-nav-bar
      fixed
      title="商品详情"
      left-arrow @click-left="$router.go(-1)"
      @click-right="$router.push('/')"
    >
      <van-icon name="home-o" slot="right"/>
    </van-nav-bar>
  </div>
</template>

<script>
export default {
  name: 'HeaderBackHome'
}
</script>

<style lang="scss" scoped>
.header-back-home {
  height: 46px;
  .van-nav-bar {
    background-color: #006699;
    i, div {
      color: #fff;
    }
  }
}
</style>
